<?php foreach($output['list'] as $val){?>
<div class="postDate"><?php echo date("Y年m月d日 H:i",$val['add_time']);?></div>
<div class="userinfoMain">
	<div class="userinfoMainIn">
		<div class="newarriveTop">
			<a href="index.php?act=shop&seller_id=<?php echo $val['user_id'];?>">
			<?php if(file_get_contents(BASE_SITE_URL.'/data/upload/shop/auction/'.$val['auction'][0]['auction_add_date'].'/'.$val['auction'][0]['auction_img1'])){?><div style="width:100%;height:145px;background-image:url(<?php echo BASE_SITE_URL.'/data/upload/shop/auction/'.$val['auction'][0]['auction_add_date'].'/'.$val['auction'][0]['auction_img1'];?>);background-repeat:no-repeat;background-position:center;background-size:cover;"></div>
			<?php }else{?>
							<div style="width:100%;height:145px;background-image:url(<?php echo $val['seller']['avatar'];?>);background-repeat:no-repeat;background-position:center;background-size:cover;"></div>
			<?php }?>
            </a>
            <div class="newarriveTopTitle"><span>【<?php echo $val['fname'];?>】的新品开拍啦</span></div>
        </div>
        <ul class="newarriveBottom">
        	<?php if(!empty($val['auction'])){?>
        	<?php foreach($val['auction'] as $vvv){?>
        	<?php if(!file_get_contents(BASE_SITE_URL.'/data/upload/shop/auction/'.$vvv['auction_add_date'].'/'.$vvv['auction_img1'])) continue;?>
        	<a href="index.php?act=index&auction_id=<?php echo $vvv['id'];?>">
        	<li>
            	<span><?php echo bearshop_auction_description_substr($vvv['auction_description']);?></span>
                <img src="<?php echo BASE_SITE_URL.'/data/upload/shop/auction/'.$vvv['auction_add_date'].'/'.$vvv['auction_img1'];?>">
            </li>
            <?php }?>
            <?php }?>
         </ul>
	</div>
</div>
<?php }?>